package wrapper.user;

import java.util.List;

/**
 * Created by aceyin on 15/7/13.
 * <p>
 * 用户工作偏好对应的对象，对应于 work_preference 表里面的 preference 字段
 */
public class Preference {
    private List<String> types;
    private List<Location> locations;
    private List<String> weekdays;
    private Integer hourlyPay;
    private Character autoRecruit;
    private Character prepay;

    public List<String> getTypes() {
        return types;
    }

    public void setTypes(List<String> types) {
        this.types = types;
    }

    public List<Location> getLocations() {
        return locations;
    }

    public void setLocations(List<Location> locations) {
        this.locations = locations;
    }

    public List<String> getWeekdays() {
        return weekdays;
    }

    public void setWeekdays(List<String> weekdays) {
        this.weekdays = weekdays;
    }

    public Integer getHourlyPay() {
        return hourlyPay;
    }

    public void setHourlyPay(Integer hourlyPay) {
        this.hourlyPay = hourlyPay;
    }

    public Character getAutoRecruit() {
        return autoRecruit;
    }

    public void setAutoRecruit(Character autoRecruit) {
        this.autoRecruit = autoRecruit;
    }

    public Character getPrepay() {
        return prepay;
    }

    public void setPrepay(Character prepay) {
        this.prepay = prepay;
    }

    public static class Location {
        private String city;
        private List<String> districts;

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public List<String> getDistricts() {
            return districts;
        }

        public void setDistricts(List<String> districts) {
            this.districts = districts;
        }
    }
}
